module.exports = app => {
  const { controller, middleware, router } = app;

  router.get('获取条码列表', '/product/barcode/list', middleware.jwt(), controller.barcode.list);
  router.post('新增条码', '/product/barcode/insert', middleware.jwt(), controller.barcode.insert);
  router.post('删除条码', '/product/barcode/delete', middleware.jwt(), controller.barcode.delete);

};
